package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PortMapping implements Trans<PortMapping, CompleteEntity.PortMapping> {

    /**
     * 网口序号，标识从哪个网口回读的连接关系
     */
    private Integer portIndex;

    /**
     * 一组完整的连接关系
     */
    private List<RvcMappingItem> mappingItem;
}

